package cn.whb.hrm.constant;

public enum  GlobalStatusCode {
    //
    GLOBAL_EXCEPTION_ERROR(9527,"出异常了"),
    //算术异常
    MATH_ERROE(8848,"算术异常");

    private Integer code;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    GlobalStatusCode(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }
}
